package com.zk.config.api.constants;

import com.zk.config.api.util.ZkCom;

import lombok.Data;

@Data
public class Constants {
	private int connectTimeout = 5000;
	
	private String zkConfigRootNode = "/configManagement";
	public void setZkConfigRootNode(String zkConfigRootNode){
		this.zkConfigRootNode = ZkCom.getZkPath(zkConfigRootNode);
	}
	
	private String projectName;
	public void setProjectName(String projectName){
		this.projectName = ZkCom.getZkPath(projectName);
	}
	
	private String zkHost;
	
	private long refreshDataTime = 0;
	
	private boolean ifPathNotExistsCreate = false;
	
	private boolean watch = false;
}
